<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>系统测试报告</title>
    <style>
        body { font-family: Arial, sans-serif; margin: 20px; background-color: #f5f5f5; }
        h1, h2 { color: #333; }
        table { border-collapse: collapse; width: 100%; margin: 20px 0; }
        th, td { border: 1px solid #ddd; padding: 12px; text-align: left; }
        th { background-color: #4CAF50; color: white; }
        tr:nth-child(even) { background-color: #f2f2f2; }
        .summary { background-color: #fff; padding: 20px; border-radius: 5px; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
        .passed { color: green; font-weight: bold; }
        .failed { color: red; font-weight: bold; }
        .status { padding: 5px 10px; border-radius: 3px; color: white; }
        .status.passed { background-color: #4CAF50; }
        .status.failed { background-color: #f44336; }
    </style>
</head>
<body>
    <div class="summary">
        <h1>专业股票分析系统 - 测试报告</h1>
        <p>测试开始时间: 2025-08-23 23:17:45</p>
        <p>测试结束时间: 2025-08-23 23:18:18</p>
        <p>总测试数: 5</p>
        <p>通过测试数: <span class="passed">1</span></p>
        <p>失败测试数: <span class="failed">4</span></p>
        <p>通过率: 20.00%</p>
        
        <h2>测试详情</h2>
        <table>
            <tr>
                <th>测试文件</th>
                <th>状态</th>
                <th>执行时间(秒)</th>
                <th>退出码</th>
            </tr>
            
            <tr>
                <td>test_data_synchronizer.py</td>
                <td><span class="status failed">失败</span></td>
                <td>0.25</td>
                <td>1</td>
            </tr>
            

            <tr>
                <td>test_security_utils.py</td>
                <td><span class="status failed">失败</span></td>
                <td>1.08</td>
                <td>1</td>
            </tr>
            

            <tr>
                <td>test_security_improvements.py</td>
                <td><span class="status failed">失败</span></td>
                <td>0.41</td>
                <td>1</td>
            </tr>
            

            <tr>
                <td>test_risk_control_application.py</td>
                <td><span class="status failed">失败</span></td>
                <td>0.57</td>
                <td>1</td>
            </tr>
            

            <tr>
                <td>test_export.py</td>
                <td><span class="status passed">通过</span></td>
                <td>30.28</td>
                <td>0</td>
            </tr>
            
        </table>
    </div>
</body>
</html>